#include "IRIVIATool.h"
#include "Tools/RIVIAToolMgr.h"
#include "Tools/RIVIAToolBase.h"

IRIVIATool::IRIVIATool()
{

}

IRIVIATool::~IRIVIATool()
{

}

void IRIVIATool::applyOnScreen(const QString &toolname, int x, int y)
{
    RIVIAToolMgr::getInstance()->getTool(toolname)->applyOnScreen(x, y);
}

ToolState IRIVIATool::getEnCurTool() const
{
    return RIVIAToolMgr::getInstance()->getEnCurTool();
}

void IRIVIATool::setEnCurTool(const ToolState &enCurTool)
{
    RIVIAToolMgr::getInstance()->setEnCurTool(enCurTool);
}
